<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>

<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>PMS项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
	<script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<link type="text/css" href="css/mycss.css" rel="stylesheet"/>
</head>
<body class="body">
	<%@ include file="include/top.jsp" %>
	
	<div class="container">
		<div class="row">
			
			<jsp:include page="include/side.jsp">
				<jsp:param value="idea" name="tag"/>
			</jsp:include>
			<div class="span9">
				<%
					Idea i = (Idea)session.getAttribute(Const.CURRENT_IDEA_IN_SESSION);
				 %>
				<form action="idea.jspx?_i=update&id=<%=i.getI_id() %>" method="post">
					<fieldset>
						<legend>修改新想法</legend>
						
						<div class="control-group">
							<label for="control-label" for="input01">标题</label><br>
							<div class="controls">
								<input id="input01" class="span9" name="title" value="<%=i.getI_name() %>" type="text"/>
							</div>
						</div>
						<div class="control-group">
							<label for="control-label" for="input01">内容</label><br>
							<div class="controls">
								<textarea id="input01" class="span9" name="content" rows="10"><%=i.getI_describle() %></textarea>
							</div>
						</div>
						<div class="form-actions">
							<button type="submit" class="btn primary-btn">保存</button>
							<a href="idea.jspx?_i"><button class="btn">返回</button></a>
						</div>
					</fieldset>
				</form>
			</div>
			<div class="span3"></div>
		</div>
	</div>
</body>
</html>